<?php
class MessageDTO {
	
	/**
	 * This is the message to show in the top level inbox/sent action.
	 */
	public $messageToShow;
	
	public $messageId;
	/** message text **/
	public $message;
	/** reply messages, sorted by created date desc **/
	public $replyMessages;
	/** Target users, a users object array **/
	public $targetUsers;
	
	public $sendUser;
	public $subject;
	/**
	 * If there is any unread message in the message thread,
	 * mark this as true if all message is marked as read.
	 */
	public $read = false;
	
	public $created;
}
?>